package com.itwill.ecom.ordersDetail;

import java.util.List;

import com.itwill.ecom.product.ProductBeans;

public interface OrdersDetailService {

	//주문 상세를 만들자
	public abstract boolean createOrdersDetail(OrdersDetailBeans create) throws Exception;

	//주문 상세를 검색하자
	public abstract List<OrdersDetailBeans> getAll() throws Exception;

	//주문 상세를 주문번호로 검색하자
	public abstract OrdersDetailBeans getNo(int no) throws OrdersDetailNotFound,Exception;

	//해당 주문의 상세내역리스트를 검색하자
	public abstract List<OrdersDetailBeans> getDetail(int orderNo) throws OrdersDetailNotFound,Exception;

	//주문 상세를 삭제하자
	public abstract boolean delete(int deleteNo) throws Exception;

	// 주문 번호로 삭제하자
	public abstract boolean deleteByOno(int o_no) throws Exception;
}